<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>修改密码</title>
    <include file="Template/head"/>
<body>
<div class="actNav">
    <div class="doRefresh">修改密码</div>
    <a href="javascript:history.go(-1);" class="back"></a>
    <a href="{:U('Index/index')}" class="home"></a>
</div>
<div class="wapper ucenter">
    <header class="header clearfix">
        <if condition="$list['bg_pic'] neq ''">
            <div class="bg" style="background: url('{$bgPic}')"></div>
            <else/>
            <div class="bg" style="background: url('http://cdn.lydlr.com/public/images/header-bg.jpg')"></div>
        </if>
        <dl class="adviser pull-left">
            <dt>
                <if condition="$list['head_pic'] neq ''">
                    <img src="{$headPic}" alt="">
                    <else/>
                    <img src="http://cdn.lydlr.com/public/images/temp/3.jpg">
                </if>
            </dt>
        </dl>
        <if condition="$list['weixin_qrcode'] neq ''">
            <img src="{$weixinQrcode}" class="pull-right codeimg"/>
            <else/>
            <img src="http://cdn.lydlr.com/public/images/temp/2.jpg" class="pull-right codeimg">
        </if>
    </header>
    <div class="modifyInfo module">
        <h2 class="title">个人资料</h2>

        <form class="form-horizontal zcform" method="post"
              action="{:U('Personal/postEdit',array('id'=>$userList['id']))}" enctype="multipart/form-data">
            <input id="personalJump" type="hidden" value="{:U('Personal/index')}"/>

            <div class="form-group">
                <label class="col-sm-2 control-label">姓&nbsp;&nbsp;&nbsp;名：</label>

                <div class="col-sm-10">
                    {$list.name}
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">登录名：</label>

                <div class="col-sm-10">
                    {$userList.login_name}
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label pas">密&nbsp;&nbsp;&nbsp;码：</label>

                <div class="col-sm-10">
                    <input id="password" name="password" class="form-control" type="password"
                           class="{required:true,rangelength:[8,20],}" placeholder="请输入密码">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label pas">确&nbsp;&nbsp;&nbsp;认：</label>

                <div class="col-sm-10">
                    <input class="form-control" id="confirm_password" name="confirm_password" type="password"
                           class="{required:true,equalTo:'#password'}" placeholder="请再次输入密码">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">手&nbsp;&nbsp;&nbsp;机：</label>

                <div class="col-sm-10">
                    {$list.mobile}
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">邮&nbsp;&nbsp;&nbsp;箱：</label>

                <div class="col-sm-10">
                    {$list.email}
                </div>
            </div>
            <div class="form-group btbox">
                <input type="submit" id="doSaveEdit" value="保存" class="sbtn save pull-left"/>
                <input type="reset" value="重置" class="sbtn reset pull-left"/>
            </div>
        </form>
    </div>

    <div class="modal fade popWin bs-example-modal-sm" id="myModalDel" tabindex="-1" role="dialog"
         aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog modal-sm">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                            aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="myModalLabel">提示</h4>
                </div>
                <div class="modal-body text-center">
                    <p class="tipsBox"><i class="warn"></i>请将信息填写完整</p>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-warning" data-dismiss="modal" aria-label="Close">确认</button>
                    <button type="button" class="btn btn-default" data-dismiss="modal" aria-label="Close">取消</button>
                </div>
            </div>
        </div>
    </div>

    <div class="modal fade popWin bs-example-modal-sm" id="myModalSuc" tabindex="-1" role="dialog"
         aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog modal-sm">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                            aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="myModalLabel">提示</h4>
                </div>
                <div class="modal-body text-center">
                    <p class="tipsBox"><i class="suc"></i>保存成功</p>
                </div>
            </div>
        </div>
    </div>
    <footer class="footer">
        <include file="Template/foot"/>
    </footer>
</div>
</body>
</html>
